package com.newtouch.bxzs.common.base.em;

/**
 * 保单续期状态枚举
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/25 10:38</td>
 * <td>linhongxi</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author linhongxi
 * @version 1.0.0
 * @since 1.0.0
 */
public enum RenewalStateEnum {
	// 临近交费期
	APROACHING_PAYMENT_PERIOD(1, "临近交费期"),
	// 宽限期
	GRACE_PERIOD(2, "宽限期"),
	// 超过宽限期
	EXCEEDED_GRACE_PERIOD(3, "超过宽限期"),
	// 已交费
	PAID(4, "已交费");
	/**
	 * 续期状态码
	 */
	private Integer code;
	/**
	 * 续期状态信息
	 */
	private String status;

	/**
	 *
	 * @param code
	 *            枚举码
	 * @param status
	 *            枚举值
	 */
	RenewalStateEnum(Integer code, String status) {
		this.code = code;
		this.status = status;
	}

	public Integer getCode() {
		return code;
	}

	public String getMessage() {
		return status;
	}
}
